package com.example.aiquestions.service;

import com.example.aiquestions.entity.Paper;
import com.github.pagehelper.PageInfo;

public interface PaperService {
    Paper save(Paper paper);
    
    Paper update(Paper paper);
    
    boolean delete(Long paperId);
    
    Paper getById(Long paperId);
    
    PageInfo<Paper> getList(Long userId, Long subjectId, Integer pageNum, Integer pageSize);
}
